package cn.tedu.myweb.myweb.util;

import java.util.HashMap;
import java.util.Map;

public class Mime {
	private static Map<String, String> map = new HashMap<>();
	static{
		map.put(".m3u8", "application/x-mpegURL");
		map.put(".key", "text/plain");
		map.put(".ts", "video/vnd.dlna.mpeg-tts");
	}
	
	public static String getMime(String name) {
		return map.get(name);
	}
}
